﻿using System;

namespace VIT.Web.Modules.FeaturedNews
{
    public partial class FeaturedNews : VIT.Web.UI.VITModule
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                FeaturedNewsProvider fnp = new FeaturedNewsProvider();
                fnp.LanguageId = Session["language"].ToString();
                rpt.DataSource = fnp.loadTop(Params);
                rpt.DataBind();
            }
        }
    }
}